package com.sundi.ecgeneralize.service;

import com.sundi.ecgeneralize.dto.GrouponrulesDto;
import com.sundi.ecgeneralize.entity.EcCoupon;
import com.sundi.ecgeneralize.entity.EcGrouponRules;
import com.baomidou.mybatisplus.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 团购规则表 服务类
 * </p>
 *
 * @author Mht
 * @since 2020-02-26
 */
public interface IEcGrouponRulesService extends IService<EcGrouponRules> {
    List<EcGrouponRules> selectGrouponRulesList(GrouponrulesDto grouponrulesDto);

    void updAndDel(Integer id);

    EcCoupon getGrouponRules(@Param("id") Integer id);
}
